<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>aym-ui demo page</title>
    <!--  <script type="text/javascript"
        src="//img.aiyoumi.com/static/m/js/rem.js"></script> -->
    <script>
    ! function(t, e) {
        "use strict";
        var i = {};
        ! function() {
            var n = e.querySelector('meta[name="viewport"]'),
                a = e.querySelector('meta[name="hotcss"]'),
                r = t.devicePixelRatio || 1,
                d = 540,
                m = 0;
            if (r = 1, a) {
                var s = a.getAttribute("content");
                if (s) {
                    var c = s.match(/initial\-dpr=([\d\.]+)/);
                    c && (r = parseFloat(c[1]));
                    var o = s.match(/max\-width=([\d\.]+)/);
                    o && (d = parseFloat(o[1]));
                    var u = s.match(/design\-width=([\d\.]+)/);
                    u && (m = parseFloat(u[1]))
                }
            }
            e.documentElement.setAttribute("data-dpr", r), i.dpr = r, e.documentElement.setAttribute("max-width", d), i.maxWidth = d, m && e.documentElement.setAttribute("design-width", m), i.designWidth = m;
            var l = 1 / r,
                h = "width=device-width, initial-scale=" + l + ", minimum-scale=" + l + ", maximum-scale=" + l + ", user-scalable=no";
            n ? n.setAttribute("content", h) : (n = e.createElement("meta"), n.setAttribute("name", "viewport"), n.setAttribute("content", h), e.head.appendChild(n))
        }(), i.px2rem = function(t, e) { return e || (e = parseInt(i.designWidth, 10)), 320 * parseInt(t, 10) / e / 20 }, i.rem2px = function(t, e) { return e || (e = parseInt(i.designWidth, 10)), 20 * t * e / 320 }, i.mresize = function() { var n = e.documentElement.getBoundingClientRect().width || t.innerWidth; return i.maxWidth && n / i.dpr > i.maxWidth && (n = i.maxWidth * i.dpr), n ? (e.documentElement.style.fontSize = 20 * n / 320 + "px", void(i.callback && i.callback())) : !1 }, i.mresize(), t.addEventListener("resize", function() { clearTimeout(i.tid), i.tid = setTimeout(i.mresize, 33) }, !1), t.addEventListener("load", i.mresize, !1), setTimeout(function() { i.mresize() }, 333), t.hotcss = i
    }(window, document);
    window.AXDDEBUG = { WX: true, VUE: false, ERROR: true };
    </script>
</head>

<body>
    <div id="app"></div>
</body>

</html>
